
package fr.afcepf.atod18.service;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for pays complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="pays">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="codeA2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="devise" type="{http://service.atod18.afcepf.fr/}devise" minOccurs="0"/>
 *         &lt;element name="drapeau" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
 *         &lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="nom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "pays", propOrder = {
    "codeA2",
    "devise",
    "drapeau",
    "id",
    "nom"
})
public class Pays {

    protected String codeA2;
    protected Devise devise;
    protected byte[] drapeau;
    protected int id;
    protected String nom;

    /**
     * Gets the value of the codeA2 property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getCodeA2() {
        return codeA2;
    }

    /**
     * Sets the value of the codeA2 property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setCodeA2(String value) {
        this.codeA2 = value;
    }

    /**
     * Gets the value of the devise property.
     * 
     * @return
     *     possible object is
     *     {@link Devise }
     *     
     */
    public Devise getDevise() {
        return devise;
    }

    /**
     * Sets the value of the devise property.
     * 
     * @param value
     *     allowed object is
     *     {@link Devise }
     *     
     */
    public void setDevise(Devise value) {
        this.devise = value;
    }

    /**
     * Gets the value of the drapeau property.
     * 
     * @return
     *     possible object is
     *     byte[]
     */
    public byte[] getDrapeau() {
        return drapeau;
    }

    /**
     * Sets the value of the drapeau property.
     * 
     * @param value
     *     allowed object is
     *     byte[]
     */
    public void setDrapeau(byte[] value) {
        this.drapeau = ((byte[]) value);
    }

    /**
     * Gets the value of the id property.
     * 
     */
    public int getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     */
    public void setId(int value) {
        this.id = value;
    }

    /**
     * Gets the value of the nom property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNom() {
        return nom;
    }

    /**
     * Sets the value of the nom property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNom(String value) {
        this.nom = value;
    }

}
